#!/usr/bin/env bash

## configure and install minimal openbox desktop environment

doas pacman -Sy
doas pacman -Syu
doas pacman -S openbox

echo
doas cp 00-keyboard.conf /etc/X11/xorg.conf.d/
echo
doas cp -r /home/admin/hyperbola_0.4/rofi/themes/* /usr/share/rofi/themes/

doas pacman -S -y \
  lxappearance \
  obconf \
  nitrogen \
  lxrandr \
  viewnior \
  elinks \
  transset-df \
  ntfs-3g \
  volumeicon \
  curl \
  qt4 \
  youtube-dl \
  mediainfo \
  cmus \
  lumina-screenshot \
  tint2 \
  xdg-user-dirs 

doas pacman -S -y \
	audacious \
	celluloid \
	simplescreenrecorder \
	shotcut \
	audacity \
	mc \
	gpick \
	rxvt-unicode \
	mpv \
	sakura \
	libreoffice \
	libreoffice-l10n-ru \
	vlc \
	rofi \
	ranger \
	unzip \
	zip \
	lzip \
	lzop \
	squashfs-tools \
	unar \
	lrzip \
	p7zip \
	htop \
	spacefm \
	udevil \
	mupdf \
	iceweasel-esr \
	iceweasel-esr-l10n-ru \
	icedove-uxp \
	icedove-uxp-l10n-ru \
	icedove-uxp-icecrypt \
	geany \
	featherpad \
	l3afpad \
	galculator-gtk2 \
	bleachbit-gtk \
	transmission-gtk \
	ttf-hack \
	neovim \
	python-pynvim \
	meld \
	soundconverter \
	gst-plugins-bad 

cd ..
ls -a .config/openbox/

echo "exec openbox-session" >> ~/.xinitrc
